<?php
/**
 * Created by JetBrains PhpStorm.
 * User: shaoshuai
 * Date: 12-7-14
 * Time: 下午10:00
 * To change this template use File | Settings | File Templates.
 */

include_once 'functions.php';
/**
 * @param string $name
 */
function __autoload($name)
{
    $file = $name . '.php';
    include_once $file;
}